package com.fin.zw.intelligentbot.entity;

import lombok.Data;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
@Table(appliesTo = "upload_file",comment="文件信息")
@Data
public class UploadFile extends BaseEntity{

    @Column(columnDefinition = "varchar(100) COMMENT '文件名称'")
    private String fileName;

    @Column(columnDefinition = "varchar(200) COMMENT '原始文件名'")
    private String originalName;

    @Column(columnDefinition = "varchar(20) COMMENT '扩展名'")
    private String extensionName;

    @Column(columnDefinition = "varchar(200) COMMENT '访问地址 相对地址'")
    private String url;
}
